//
//  QJMineBankCell.m
//  QuanJieShopProject
//
//  Created by 刘中义 on 2018/2/27.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "QJMineBankCell.h"

@implementation QJMineBankCell
- (void)setupCellUIAction{
    self.cellView.layer.cornerRadius = 3.0;
    self.cellView.layer.masksToBounds = YES;
}
- (void)cellUpdateWithModel:(MineBankModel *)model{
    if (model) {
        self.bankNameLabel.text = [NSString stringWithoutNilFormart:model.bank_name];
        self.bankNumberLabel.text = [NSString stringWithoutNilFormart:model.card_num];
        if ([model.is_default isEqualToString:@"1"]) {
            self.bankStatusLabel.hidden = NO;
        }else{
            self.bankStatusLabel.hidden = YES;
        }
    }
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
